package com.jumi.microservice.dto.reponse;


import com.jumi.microservice.entity.UserTeam;
import com.jumi.microservice.entity.UserUp;
import com.jumi.microservice.enums.CommonEnum;
import com.jumi.microservice.enums.Level;
import com.jumi.microservice.enums.SexEnum;
import com.jumi.microservice.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@ApiModel("用户信息返回结果")
public class JmUserReponse implements Serializable {

    @ApiModelProperty(value = "会员id")
    private Integer id;
    @ApiModelProperty(value = "会员昵称")
    private String name;
    @ApiModelProperty(value = "真实姓名")
    private String truename;
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value = "会员头像")
    private String avatar;
    @ApiModelProperty(value = "会员性别")
    private SexEnum sex;
    @ApiModelProperty(value = "生日")
    private LocalDate birthday;
    @ApiModelProperty(value = "会员密码")
    private String passwd;
    @ApiModelProperty(value = "支付密码")
    private String paypwd;
    @ApiModelProperty(value = "会员邮箱")
    private String email;
    @ApiModelProperty(value = "qq")
    private String qq;

    private String province;

    private String city;

    private String area;
    @ApiModelProperty(value = "省id")
    private String provinceId;
    @ApiModelProperty(value = "市id")
    private String cityId;
    @ApiModelProperty(value = "区县id")
    private String areaId;
    @ApiModelProperty(value = "等级")
    private Level level;

    @ApiModelProperty(value = "手机型号")
    private String model;
    @ApiModelProperty(value = "当前登录的手机型号")
    private String lastLoginModel;
    @ApiModelProperty(value = "邀请码")
    private String code;
    @ApiModelProperty(value = "登录Ip")
    private String loginIp;
    @ApiModelProperty(value = "用户注册平台类型")
    private String client;
    @ApiModelProperty("当前用户登录的平台类型")
    private String lastLoginClient;
    @ApiModelProperty(value = "是否为聚米")
    private CommonEnum isJumi;
    @ApiModelProperty(value = "累计绩效")
    private BigDecimal performance;//累计绩效
    @ApiModelProperty(value = "累计收益")
    private BigDecimal earnings;//累计收益
    @ApiModelProperty(value = "上级信息")
    private UserUp userSuper;//上级信息
    @ApiModelProperty(value = "团队信息")
    private UserTeam userTeam;//团队信息
    @ApiModelProperty(value = "允许授权")
    private CommonEnum allowAuthorize;
    @ApiModelProperty(value = "允许登录")
    private CommonEnum allowLogin;
    @ApiModelProperty(value = "允许购买")
    private CommonEnum allowBuy;
    @ApiModelProperty(value = "订单数量")
    private Integer orderNum;//订单数量
    @ApiModelProperty(value = "用户实名认证状态;0=待审核,1=已通过,2=未通过,3=未申请")
    private Integer isRealnameAuthentication;
    @ApiModelProperty(value = "是否店长认证;0=待审核,1=已通过,2=未通过,3=未申请")
    private Integer isIdentityAuthentication;
    @ApiModelProperty(value = "微信号")
    private String wechatNum;
    @ApiModelProperty(value = "个性签名")
    private String signature;
    @ApiModelProperty(value = "会员开启状态")
    private Status status;
    @ApiModelProperty(value = "可提现金额")
    private BigDecimal availablePredeposit;

    @ApiModelProperty(value = "创建时间")

    private LocalDateTime createTime;

    @ApiModelProperty(value = "登录时间")

    private LocalDateTime loginTime;

    @ApiModelProperty("金牌推广商是否申请认证;0=待审核,1=已通过,2=未通过,3=未申请")
    private Integer goldCheckStatus;//金牌推广商是否申请认证

    @ApiModelProperty("优惠额度")
    private BigDecimal discount;//优惠额度

    @ApiModelProperty("聚米授权证书号")
    private String certificate;

    @ApiModelProperty(value = "个人二维码")
    private String personalQr;

    @ApiModelProperty(value = "社群二维码")
    private String communityQr;

    @ApiModelProperty(value = "小店二维码")
    private String qrWeixinImg;

    @ApiModelProperty(value = "实名认证姓名")
    private String realName;

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getQrweixinimg() {
        return qrWeixinImg;
    }

    public void setQrweixinimg(String qrweixinimg) {
        this.qrWeixinImg = qrweixinimg;
    }

    public String getLastLoginClient() {
        return lastLoginClient;
    }

    public void setLastLoginClient(String lastLoginClient) {
        this.lastLoginClient = lastLoginClient;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getLastLoginModel() {
        return lastLoginModel;
    }

    public void setLastLoginModel(String lastLoginModel) {
        this.lastLoginModel = lastLoginModel;
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Integer getGoldCheckStatus() {
        return goldCheckStatus;
    }

    public void setGoldCheckStatus(Integer goldCheckStatus) {
        this.goldCheckStatus = goldCheckStatus;
    }


    public BigDecimal getAvailablePredeposit() {
        return availablePredeposit;
    }

    public void setAvailablePredeposit(BigDecimal availablePredeposit) {
        this.availablePredeposit = availablePredeposit;
    }

    public Integer getIsIdentityAuthentication() {
        return isIdentityAuthentication;
    }

    public void setIsIdentityAuthentication(Integer isIdentityAuthentication) {
        this.isIdentityAuthentication = isIdentityAuthentication;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public Integer getIsRealnameAuthentication() {
        return isRealnameAuthentication;
    }

    public void setIsRealnameAuthentication(Integer isRealnameAuthentication) {
        this.isRealnameAuthentication = isRealnameAuthentication;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getWechatNum() {
        return wechatNum;
    }

    public void setWechatNum(String wechatNum) {
        this.wechatNum = wechatNum;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public CommonEnum getIsJumi() {
        return isJumi;
    }

    public void setIsJumi(CommonEnum isJumi) {
        this.isJumi = isJumi;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public SexEnum getSex() {
        return sex;
    }

    public void setSex(SexEnum sex) {
        this.sex = sex;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getPaypwd() {
        return paypwd;
    }

    public void setPaypwd(String paypwd) {
        this.paypwd = paypwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }


    public Level getLevel() {
        return level;
    }

    public void setLevel(Level level) {
        this.level = level;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public LocalDateTime getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(LocalDateTime loginTime) {
        this.loginTime = loginTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public BigDecimal getPerformance() {
        return performance;
    }

    public void setPerformance(BigDecimal performance) {
        this.performance = performance;
    }

    public BigDecimal getEarnings() {
        return earnings;
    }

    public void setEarnings(BigDecimal earnings) {
        this.earnings = earnings;
    }

    public UserUp getUserSuper() {
        return userSuper;
    }

    public void setUserSuper(UserUp userSuper) {
        this.userSuper = userSuper;
    }

    public UserTeam getUserTeam() {
        return userTeam;
    }

    public void setUserTeam(UserTeam userTeam) {
        this.userTeam = userTeam;
    }

    public CommonEnum getAllowAuthorize() {
        return allowAuthorize;
    }

    public void setAllowAuthorize(CommonEnum allowAuthorize) {
        this.allowAuthorize = allowAuthorize;
    }

    public CommonEnum getAllowLogin() {
        return allowLogin;
    }

    public void setAllowLogin(CommonEnum allowLogin) {
        this.allowLogin = allowLogin;
    }

    public CommonEnum getAllowBuy() {
        return allowBuy;
    }

    public void setAllowBuy(CommonEnum allowBuy) {
        this.allowBuy = allowBuy;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getPersonalQr() {
        return personalQr;
    }

    public void setPersonalQr(String personalQr) {
        this.personalQr = personalQr;
    }

    public String getCommunityQr() {
        return communityQr;
    }

    public void setCommunityQr(String communityQr) {
        this.communityQr = communityQr;
    }

}
